import request from '@/utils/request'

export const login = ({
  username,
  password
}) => request({
  url: '/admin/acl/index/login',
  method: 'post',
  data:{
    username,
    password
  }
})

export const getInfo=()=>request('/admin/acl/index/info')

export const logout=()=>request.post('/admin/acl/index/logout')

